package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation.dto.BusinessEmployeeCompensationListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation.param.BusinessEmployeeCompensationCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation.param.BusinessEmployeeCompensationDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation.param.BusinessEmployeeCompensationListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.compensation.param.BusinessEmployeeCompensationUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeCompensationCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/compensation/fallback")
public class BusinessEmployeeCompensationCloudServiceFallback implements BusinessEmployeeCompensationCloudService {

    @Override
    public BusinessEmployeeCompensationListCloudDto list(BusinessEmployeeCompensationListCloudParam param) {
        return new BusinessEmployeeCompensationListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeeCompensationCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeeCompensationUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeeCompensationDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
